#!/usr/bin/python
#-*-<coding=UTF-8>-*-

"""
启动画面程序示例
"""

import wx
from sketchWindow import SketchWindow 

class sketchApp(wx.App):
    def OnInit(self):
        bmp = wx.Image("splash.jpg").ConverToBitmap()
        wx.SplashScreen(bmp,wx.SPLASH_CENTRE_ON_SCREEN|wx.SPLASH_TIMEOUT,1000,None,-1)
        wx.Yield()

        #frame = SketchWindow(None)
        #frame.Show()
        #self.SetTopWindow(frame)
        return
